package com.ll.demo1.bytecode;

public enum Demo {


    AGG("da"){
        @Override
        public void print(){
            System.out.println("da");
        }
    };

    private String text;

    Demo(String text) {
        this.text = text;
    }


    abstract void print();
}
